﻿using System;
using Identity;

namespace Fee
{
    /// <summary>
    ///     订单合同
    /// </summary>
    public class OrderContract
    {
        /// <summary>
        ///     订单号
        /// </summary>
        public string OrderNo { get; set; }

        /// <summary>
        ///     合同号
        /// </summary>
        public string ContractNo { get; set; }

        /// <summary>
        ///     合同名称
        /// </summary>
        public string Name { get; set; }

        public int Id { get; set; }

        /// <summary>
        ///     投资金额
        /// </summary>
        public decimal Amount { get; set; }

        /// <summary>
        ///     投资金额（万元）不含税
        /// </summary>
        public decimal AmountWithoutTax { get; set; }

        /// <summary>
        ///     投资项目
        /// </summary>
        public Project Project { get; set; }

        /// <summary>
        ///     框架合同
        /// </summary>
        public FrameworkContract FrameworkContract { get; set; }

        /// <summary>
        ///     税率
        /// </summary>
        public decimal Tax { get; set; }

        public ContractStatus Status { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public DateTimeOffset SignTime { get; set; }

        public DateTimeOffset? FinishTime { get; set; }

        /// <summary>
        ///     供应商
        /// </summary>
        public Vendor Vendor { get; set; }

        /// <summary>
        /// </summary>
        public string Comment { get; set; }

        /// <summary>
        ///     联系人
        /// </summary>
        public string Contact { get; set; }

        public string ProjectNo { get; set; }
    }
}